define(window.backboneCommon.getControllerDefine("User"), function (require,Model,ModelCustomer) {
    var model=new Model();
    var modelCustomer=new ModelCustomer();
    return Backbone.Collection.extend({
        model:  model,
        initialize: function () {
             model.set({modelCustomer:modelCustomer});
        },
        initDetailAfter:function () {
            modelCustomer.getAllList();
        },
        getPageList:function(param){
            model.getPageList(param);
        },
        saveInfo: function (json) {
            json.id?model.updateInfo(json):model.addInfo(json);
        }
    });
});

